import { type RouteRecordRaw, createRouter, createWebHistory } from "vue-router";

const routes: RouteRecordRaw[] = [
  { path: "/", component: () => import("@/views/HomeView") },
  { path: "/about", component: () => import("@/views/AboutView") },
  { path: "/hello-world", component: () => import("@/views/HelloWorldView") },
  { path: "/g/ys", component: () => import("@/views/g/YsView") },
  { path: "/ui", component: () => import("@/views/UIView") },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
